<!-- TEMPLATE ANIMAL RECHERCHER -->

<section id="content">

    <!-- Tableau obligatoire ! Structure du calendrier ! -->
    <table class="ds_box" cellpadding="0" cellspacing="0" id="ds_conclass" style="display: none;">
        <tr>
            <td id="ds_calclass"></td>
        </tr>
    </table>

    <!-- -->

    <h1 class="article">{#PLAINTE_RECHERCHER#}</h1>

    <form class="article buttons" name="PlainteRechercher" method="post" action="">

        <fieldset class="form-text">
            <label>{#ANIMAL_NO#}</label>
            <input type="text" name="Animal"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#PERSONNE_NO#}</label>
            <input type="text" name="Personne"/> <br/>
        </fieldset>
        
        <fieldset>
            <label>{#STATUT#}</label>
            <select name="Sexe">
                <option value="Classe">{#CLASSE#}</option>
                <option value="Transmis">{#TRANSMIS#}</option>
                <option value="EnTraitement">{#EN_TRAITEMENT#}</option>
            </select>
        </fieldset>
        
        <fieldset class="form-text date">
            <label>{#DATE#}</label>
            <p>{#ENTRE#}<p>
            <input id="correction1" type="text" name="DatePlainte" onClick="ds_sh(this);"/> 
            <p>{#ET#}</p> 
            <input type="text" name="DatePlainte" onClick="ds_sh(this);"/>
        </fieldset>
        
        <fieldset class="form-actions">
            <input type="submit" name="Rechercher" value="{#RECHERCHER#}">
        </fieldset>
    
    </form>

    <h2 class="article">{#RESULTAT_RECHERCHE#}</h2>

    <div id="tableau" class="article">
        <table>
            <tr style="background-color:#FC0">
                {foreach from=entetes item=item}
                    <th>{$item}</th>
                </tr>{/foreach}      
                {foreach from=plaintes item=plainte}
                    <tr style="background: {cycle values="#eeeeee,#d0d0d0"}">
                        {foreach from=plainte item=item}
                            <td>{$item}</td>
                        {/foreach}
                    </tr>
                {/foreach}
            </table>           
        </div>

    </section>